projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3af04c1
)
fontchooser: Remove needless scroll calls
author
Benjamin Otte
<otte@redhat.com>
Tue, 20 Sep 2011 01:10:33 +0000
(
03:10
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 22 Sep 2011 19:44:04 +0000
(21:44 +0200)
Previous functions take care of scrolling already.
gtk/gtkfontchooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfontchooserwidget.c
b/gtk/gtkfontchooserwidget.c
index 21e5f9a396868af0af704af3985f7f291c10384d..955eea619ca7c29177974cd0e65c286d85b99d53 100644
(file)
--- a/
gtk/gtkfontchooserwidget.c
+++ b/
gtk/gtkfontchooserwidget.c
@@
-391,8
+391,6
@@
cursor_changed_cb (GtkTreeView *treeview,
FAMILY_COLUMN, &family,
-1);
- gtk_tree_view_scroll_to_cell (treeview, path, NULL, FALSE, 0.5, 0.5);
-
gtk_tree_path_free (path);
path = NULL;
@@
-1046,12
+1044,6
@@
gtk_font_chooser_widget_select_font (GtkFontChooserWidget *fontchooser)
path,
NULL,
FALSE);
- gtk_tree_view_scroll_to_cell (GTK_TREE_VIEW (priv->family_face_list),
- path,
- NULL,
- FALSE,
- 0.5,
- 0.5);
gtk_tree_path_free (path);
}
}